import { createSSRApp } from "vue";
import { createPinia } from 'pinia'
import App from "./App.vue";
import './uni.scss'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

export function createApp() {
  const pinia = createPinia()
  pinia.use(piniaPluginPersistedstate)
  const app = createSSRApp(App)
  app.use(pinia)
  return {
    app,
  }
}
